jQuery(document).ready(function() {
	initIssueTracker();
});

function initIssueTracker() {	
	$.each(issues, function() {
		$('<div class="issue">' +
				'<div><h3>' + this.topic + '</h3></div>' +
				'<hr  />' +
				'<div class="head">' +  
					'<div><p>Erstellt von: ' + this.author + '</p></div>' +
					'<div><p>, am ' + this.date + '</p></div>' + 
					'<div><p>, zu bearbeiten von: ' + this.involved + '</p></div>' +
					'<div><p>, Status: ' + this.status + '</p></div>' +
					'<br style="clear: left;" />' +
				'</div>' +
				'<div><p><span style="font-weight: bold;">Beschreibung: </span>' + this.descr + '</p></div>' +
		   '</div>').appendTo("#issues");
	});
}